package com.cq.service;

import com.cq.pojo.Reply;

import java.util.List;

/**
 * @Author: 悠久的苍穹
 * @Date: 2021/2/5 19:17
 * @Description: 回复服务层
 * @Version: 1.0
 */
public interface ReplyService {

    int getCount();

    List<Reply> getReplies(int page, int limit);

    int getReplyCount(String start, String end);

    List<Reply> getRepliesByTime(int page, int limit, String start, String end);

    void deleteReplyById(int id);

    int addReply(Reply reply);

    void deleteReplyByTopicId(int topicId);
}
